﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessLayer.DTO
{
    public class AttendanceInfo
    {
        public int AttendanceID { get; set; }
        public int EmployeeID { get; set; }
        public string DayName { get; set; }
        public DateTime? DateAttended { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        private decimal noOfHours;
        public decimal NoOfHours
        {
            get
            {
                return Math.Round(noOfHours, 2);
            }
            set
            {
                noOfHours = value;

            }
        }
        private decimal overTime;
        public decimal OverTime
        {
            get
            {
                return Math.Round(overTime, 2);
            }
            set
            {
                overTime = value;

            }
        }
    }
}
